package com.cskaoyan.shopping.converter;

import com.cskaoyan.mall.dto.ItemToOrderDTO;
import com.cskaoyan.shopping.dal.entitys.Item;
import org.mapstruct.Mapper;

/**
 * @author silic xia
 * @since 2022/12/04 18:35
 */
@Mapper(componentModel = "spring")
public interface ItemToOrderConverterMapper {

    ItemToOrderDTO itemToItemDto(Item item);
}

